package com.lyb.spzx.manager.service;

import com.github.pagehelper.PageInfo;
import com.lyb.spzx.model.dto.system.system.SysRole;

import java.util.List;
import java.util.Map;

public interface SysRoleService {
    PageInfo<SysRole> findByPage(String keyword, Integer pageNum, Integer pageSize);

    void saveSysRole(SysRole sysRole);

    void updateSysRole(SysRole sysRole);

    void deleteById(Integer id);

    Map<String, Object> findAll(Long id);
}
